package org.permission.dao;

import org.apache.ibatis.annotations.Param;
import org.permission.pojo.SysUser;

public interface SysUserDao extends CommonDao<SysUser, Integer> {

	public void addUserRoles(@Param("uid") Integer uid,@Param("roleIds") Integer[] roleIds);
	
	public SysUser getByUsername(@Param("username") String username);
}
